package components;

import com.artemis.Component;

public class Velocity extends Component {
	private float x, y, max;
	
	public Velocity(float x, float y, float max)
	{
		this.setX(x);
		this.setY(y);
		this.max = max;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}
	
	public float getMax(){
		return max;
	}
}
